/* 首页头部 */
.app-main {
  padding-bottom: 10px;
  .up {
    margin-top: 10px !important;
  }
  .head {
    box-shadow: none;
    .menu {
      .item {
        padding: 0 30px;
      }
    }
    .menu-en {
      .item {
        padding: 0 20px;
      }
    }
    .search {
      display: none;
    }
  }
}
.head {
  .content {
    margin-bottom: 0;
  }
}

/* 首页头部 end */

/* 首页轮播 */
.banner {
  .el-carousel.el-carousel--horizontal {
    ul.el-carousel__indicators--horizontal {
      .el-carousel__button {
        background: #e1251b !important;
      }
      bottom: 45px !important;
    }
  }
}
.el-carousel {
  width: 100%;
  height: 100%;
}
.el-carousel-item {
  width: 100%;
  height: 100%;
}
.el-carousel__container {
  width: 100%;
  height: 100%;
}

/* 首页搜索 */
.app-main {
  .home-search {
    width: 1140px;
    height: 40px;
    padding: 20px 30px;
    margin: -40px auto 0;
    background: #fff;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    display: flex;
    z-index: 2;
    .hot-word {
      flex: 1;
      display: flex;
      line-height: 40px;
      margin-left: auto;
      .tit {
        font-size: 14px;
        width: 95px;
        word-break: keep-all;
      }
      .con {
        flex: 1;
        overflow: hidden;
        color: #999;
        max-width: 430px;
        .item {
          display: inline-block;
          padding: 0 10px;
          max-width: 20%;
          text-align: center;
          transition: all .2s;
          -webkit-transition: all .2s;
          cursor: pointer;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          &:hover {
            color: #e1251b;
          }
        }
      }
      .con-en {
        width: 340px;
      }
    }
    .search-msg {
      position: relative;
      height: 40px;
      .search-input-box {
        display: inline-block;
        border: 2px solid #e1251b;
        width: 450px;
        height: 36px;
        .search-input {
          display: inline-block;
          width: 60%;
          border: 0;
          height: 35px;
          padding: 0 10px;
        }
        .select-search {
          display: inline-block;
          width: 10%;
          line-height: 37px;
          text-align: center;
          cursor: pointer;
          color: #e1251b;
          position: relative;
          .select-box {
            position: absolute;
            top: -22px;
            left: 6px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
          }
          .switch-icon {
            width: auto;
            height: auto;
            max-width: 10px;
            max-height: 12px;
            margin-left: 3px;
          }
        }
      }
      .search-btn {
        border: 0;
        background: #e1251b;
        color: #fff;
        height: 40px;
        width: 90px;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 14px;
        cursor: pointer;
        &:hover {
          opacity: 0.9;
        }
      }
    }
    .cart-btn {
      position: relative;
      margin-left: 20px;
      padding: 0 20px 0 47px;
      background-color: #e1251b;
      height: 40px;
      line-height: 40px;
      color: #fff;
      font-size: 14px;
      cursor: pointer;
      transition: all .2s;
      -webkit-transition: all .2s;
      position: relative;
      &::before {
        position: absolute;
        left: 17px;
        top: 12px;
        display: block;
        width: 17px;
        height: 15px;
        content: " ";
        background: url(@/assets/images/icons.png) no-repeat -44px -38px;
      }
      .number {
        font-size: 12px;
        font-family: arial;
        display: inline-block;
        padding: 0 5px;
        background: #fff;
        color: #e1251b;
        height: 16px;
        line-height: 16px;
        min-width: 16px;
        border-radius: 20px;
        vertical-align: top;
        margin-top: 12px;
        margin-left: 10px;
        text-align: center;
        box-sizing: border-box;
      }
      &:hover {
        opacity: 0.9;
      }
    }
  }
}
.search-msg {
  .search-input-box {
    .select-list {
      display: inline-block;
      width: 45px;
      position: absolute;
      top: 38px;
      right: 95px;
      background: #ffffff;
      border: 2px solid #e1251b;
      padding: 5px 0;
    }
  }
}
.select-list {
  .select-item {
    line-height: 1.5em;
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
  }
}

/* 首页搜索 end */

/* banner */
.banner {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
  img {
    background-color: #fff;
  }
}
.banner-item {
  width: 1920px;
  position: absolute;
  left: 50%;
  margin-left: -960px;
}

/* banner end  */

/* 快捷入口 */
.app-main {
  .shortcut {
    display: flex;
    margin-top: 40px;
    .item {
      width: 224px;
      height: 224px;
      margin-right: 20px;
      cursor: pointer;
      &:last-child {
        margin-right: 0;
      }
      .text {
        margin: 20px 20px 0;
        .cn {
          font-size: 14px;
          line-height: 20px;
          font-weight: 600;
        }
        .en {
          font-size: 12px;
          line-height: 15px;
          color: #999;
          margin-top: 5px;
        }
      }
      .img {
        display: flex;
        justify-content: flex-end;
        -webkit-justify-content: flex-end;
        align-items: flex-end;
        -webkit-align-items: flex-end;
        height: 144px;
        padding: 0 20px 20px 0;
        font-size: 0;
        img {
          max-width: 140px;
          max-height: 140px;
          transition: all .2s;
          -webkit-transition: all .2s;
        }
      }
      &:hover {
        .img {
          img {
            opacity: 0.8;
          }
        }
      }
    }
    .item.item01 {
      background: #f7f7f9;
    }
    .item.item02 {
      background: #f8f7f9;
    }
    .item.item03 {
      background: #f7f9f8;
    }
    .item.item04 {
      background: #f7f8f9;
    }
    .item.item05 {
      background: #f8f7f9;
    }
  }
}

/* 快捷入口 end */

/* 长条广告 */
.app-main {
  .adv {
    margin-top: 40px;
    cursor: pointer;
    font-size: 0;
    max-height: 300px;
    display: block;
    img {
      width: 100%;
      height: 100%;
    }
  }
}

/* 长条广告 end */

/* 首页列表 */

.goods-list {
  margin-top: 40px;
}

/* 首页列表 end */
